chore(deps): update tauri monorepo to v2 (major) #1167
+6
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.6.0
->^2.4.0
^1.6.3
->^2.4.0
1.8.2
->2.4.0
1.5.6
->2.1.0
Release Notes
tauri-apps/tauri (@tauri-apps/api)
v2.4.0
: tauri v2.4.0Compare Source
Cargo Audit
[2.4.0]
New Features
be2e6b85f
(#12944 by @Simon-Laux) addWindow.is_always_on_top()
andWebviewWindow.is_always_on_top()
c10802425
(#12710 by @WSH032) deriveClone
fortauri::ExitRequestApi
.cedb24d49
(#12665 by @charrondev) AddedWebview::cookies()
,Webview::cookies_for_url()
,WebviewWindow::cookies()
andWebview::cookies_for_url()
.20c190691
(#12821 by @Simon-Laux) AddWebviewBuilder.disable_javascript
andWebviewWindowBuilder.disable_javascript
api to disable JavaScript.060de5bbd
(#12837 by @niladrix719) AddedgetIdentifier()
function to get the application identifier configured in tauri.conf.json658e5f5d1
(#12668 by @thomaseizinger) AddApp::run_return
function. Contrary toApp::run
, this will not exit the process but instead return the requested exit-code. This allows the host app to perform further cleanup after Tauri has exited.App::run_return
is not available on iOS and fallbacks to the regularApp::run
functionality.The
App::run_iteration
function is deprecated as part of this because calling it in a loop - as suggested by the name - will cause a busy-loop.5591a4f0b
(#12912 by @Daedaluz) Change webview zoom on mousewheel when thezoom_hotkeys_enabled
configuration is set totrue
.bcdd51025
(#13012 by @lucasfernog) Thepath
basename and extname APIs now accept Android content URIs, such as the paths returned by the dialog plugin.bcdd51025
(#13012 by @lucasfernog) AddedPathResolver::file_name
to resolve file names from content URIs on Android (leveratingstd::path::Path::file_name
on other platforms).c698a6d6f
(#12818 by @Simon-Laux) feat: addWebview.reload
andWebviewWindow.reload
013f8f652
(#12890 by @Legend-Master) Addedbuild > removeUnusedCommands
to trigger the build scripts and macros to remove unused commands based on the capabilities you defined. Note this won't be accounting for dynamically added ACLs so make sure to check it when using this.35018eed0
(#12996 by @Legend-Master) IntroduceAppHandle::request_restart()
as an alternative toAppHandle::restart()
to trigger exit event reliably30f5a1553
(#12366 by @FabianLars) AddedWebviewWindowBuilder::traffic_light_position
to set the traffic light buttons position on macOS.30f5a1553
(#12366 by @FabianLars) AddedtrafficLightPosition
window configuration to set the traffic light buttons position on macOS.Enhancements
55ffa23c9
(#12855 by @lucasfernog) Fix docs.rs build for mobile targets.f2c94aaca
(#12682 by @lucasfernog) AddPlugin#startIntentSenderForResult
Android API for mobile plugins.Bug Fixes
755533c51
(#12876 by @amrbashir) RemovedTSend: Clone
requirement forChannel<TSend>
by implementingClone
manually instead of driving it.f98598817
(#12870 by @lucasfernog) Update path plugin to use older dataDir API on SDK < 24.f67a4a6bf
(#12971 by @WofWca) Fixtauri::AssetResolver::get
andtauri::AssetResolver::get_for_scheme
skipping the first character of the
path
even if it's not a slash (/).dc90cd391
(#12911 by @Daedaluz) Listen forCtrl +
orCmd +
to support zoom functionality in swedish keyboard layouts.b05f82d35
(#12313 by @anatawa12)AppHandle::restart()
now waits forRunEvent::Exit
to be delivered before restarting the application.Performance Improvements
1cd8f55ee
(#13033 by @Legend-Master) Don't ship globalbundle.global.js
ifapp > withGlobalTauri
is set to falseDependencies
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Cargo Publish
v2.3.0
: @tauri-apps/api v2.3.0Compare Source
PNPM Audit
[2.3.0]
Enhancements
a2d36b8c3
(#12181 by @bastiankistner) Add an option to change the default background throttling policy (currently for WebKit only).PNPM Publish
v2.2.0
: @tauri-apps/api v2.2.0Compare Source
PNPM Audit
[2.2.0]
New Features
020ea0556
(#11661 by @ahqsoftwares) Add badging APIs:Window/WebviewWindow::set_badge_count
for Linux, macOS and IOS.Window/WebviewWindow::set_overlay_icon
for Windows Only.Window/WebviewWindow::set_badge_label
for macOS Only.fc30b20be
(#11726 by @amrbashir) AddTrayIcon.setShowMenuOnLeftClick
method and deprecateTrayIcon.setMenuOnLeftClick
to match the Rust API.fc30b20be
(#11726 by @amrbashir) AddTrayIconOptions.showMenuOnLeftClick
field and deprecateTrayIconOptions.menuOnLeftClick
to match the Rust API.Enhancements
fc30b20be
(#11726 by @amrbashir) Add support forTrayIconOptions.menuOnLeftClick
option andTrayIcon.setMenuOnLeftClick
on Windows.Bug Fixes
a16796a55
(#12069 by @Legend-Master) FixChannel
never callsonmessage
in some cases12a48d1e2
(#11741 by @amrbashir) Fix error when callingPredefinedMenuItem.new
to create anAbout
menu item that uses anImage
instance for the about icon.12a48d1e2
(#11741 by @amrbashir) Fix error when callingIconMenuItem.new
using anImage
instance for the icon.b63262cd4
(#11724 by @FabianLars) Removed the generic in the type of the callback function argument inmockIPC
which prevented its proper use in tests using TypeScript.a6e84f7d2
(#11835 by @ilittlebig) Fix error where usingisAbsolute
would returnCommand not found
.PNPM Publish
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.